package cn.fan.mapper;

import cn.fan.pojo.FundMain;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface FundMainMapper extends BaseMapper<FundMain> {
    @Select(" SELECT * from fund_main WHERE `code`= #{code} LIMIT 0,1 ")
    FundMain findByCode(String code);
}
